package com.qyer.commons.mc.reloader;

/**
 * User: Z J Wu Date: 2016/02/18 Time: 15:32 Package: com.qyer.commons.mc.reloader
 */
public class MockReloader<T> extends Reloader<T> {

  private T t;

  public MockReloader(String reloadResource, T t) {
    super(reloadResource);
    this.t = t;
  }

  @Override public T _reload() throws Exception {
    return t;
  }
}
